package cn.wubo.mybatis.plus.dynamic.datasource.demo.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import javax.annotation.Resource;
import java.util.List;

public class BaseService<M extends BaseMapper<T>, T> {

    @Resource
    private M baseMapper;

    public List<T> selectList(Wrapper<T> queryWrapper) {
        return baseMapper.selectList(queryWrapper);
    }
}
